package com.tem.purchase.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 腾木
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("supplier_price")
@ApiModel(value="SupplierPrice对象", description="")
public class SupplierPrice implements Serializable {
    private static final long serialVersionUID=423445686708956L;
    @ApiModelProperty(value = "供应商报价单")
    @TableId("supplier_price_id")
    private Long supplierPriceId;

    @ApiModelProperty(value = "供应商")
    @TableField("supplier_id")
    private Long supplierId;

    @ApiModelProperty(value = "产品规格")
    @TableField("product_gg_id")
    private Long productGgId;

    @ApiModelProperty(value = "价格")
    @TableField("price")
    private BigDecimal price;

    @ApiModelProperty(value = "报价时间")
    @TableField("last_time")
    private LocalDate lastTime;
}